﻿<%@ OutputCache Location="None" %>

<%@ Page Language="c#" CodeBehind="AddEVMeetingAttendee.aspx.cs" AutoEventWireup="false"
    Inherits="BEGDC.CC.Web.UserControls.EV.AddEVMeetingAttendee" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <title>AddEVMeetingAttendee</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <base target="_self" />
    <link href="../../css/global.css" rel="stylesheet" type="text/css" />
    <link href="../../css/style_fu.css" rel="stylesheet" type="text/css" />

    <script src="../../js/common.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript">
        function CheckInfoComplete() {
            var nameEN = document.getElementById("txtNameEN");

            if (nameEN != null && nameEN.value == "") {
                nameEN.style.background = "#FFFFC0";
                event.returnValue = false;
            }
            var company = document.getElementById("txtCompany");
            if (company != null && company.value == "") {
                company.style.background = "#FFFFC0";
                event.returnValue = false;
            }
            if (event.returnValue == false) {
                alert("Please input the necessary attendee information!");
            }
            window.returnValue = "refresh";

        }
        function OnClose() {
            window.close();
            window.returnValue = "refresh";
        }		
    </script>

</head>
<body>
    <form id="Form1" method="post" runat="server">
    <h3 class="ev-header-section">
        &nbsp;<asp:Label ID="lblPageTitle" runat="server">Add New Attendee (添加新与会者)</asp:Label></h3>
    <table cellspacing="0" cellpadding="0" width="100%">
        <tr class="ev-row2">
            <td class="title" style="width: 160px;">
                <span class="Star">*</span><asp:Label ID="lblNameEN" runat="server">English Name:<br /> 英文名</asp:Label>
            </td>
            <td class="val">
                <asp:TextBox ID="txtNameEN" runat="server" MaxLength="100"></asp:TextBox>
            </td>
        </tr>
        <tr class="ev-row2">
            <td class="title" style="width: 160px;">
                <asp:Label ID="lblNameCN" runat="server">Chinese Name :<br /> 中文名</asp:Label>
            </td>
            <td class="val">
                <asp:TextBox ID="txtNameCN" runat="server" MaxLength="20"></asp:TextBox>
            </td>
        </tr>
        <tr class="ev-row2">
            <td class="title" style="width: 160px;">
                <span class="Star">*</span><asp:Label ID="lblCompany" runat="server">Company :<br />公司</asp:Label>
            </td>
            <td class="val">
                <asp:TextBox ID="txtCompany" runat="server" MaxLength="250"></asp:TextBox>
            </td>
        </tr>
        <tr class="ev-row2" id="TR_Department" runat="server">
            <td class="title" style="width: 160px;">
                <asp:Label ID="lblDepartment" runat="server">Department:<br />部门</asp:Label>
            </td>
            <td class="val">
                <asp:TextBox ID="txtDepartment" runat="server" MaxLength="50"></asp:TextBox>
            </td>
        </tr>
        <tr class="ev-row2">
            <td class="title" style="width: 160px;">
                <asp:Label ID="lblTitle" runat="server">Title :<br />职位</asp:Label>
            </td>
            <td class="val">
                <asp:TextBox ID="txtTitle" runat="server" MaxLength="250"></asp:TextBox>
            </td>
        </tr>
        <tr class="ev-row2">
            <td colspan="2" class="padding5 ac">
                <asp:ResourceButton ID="ibtnAddAttendee" runat="server" Text="OK" ToolTip="OKTips"
                    CssClass="btn" />
                <asp:ResourceButton ID="ibtnClose" runat="server" Text="Close" ToolTip="CloseTips"
                    CssClass="btn" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
